/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CommerceModeEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String SELFSUPPORT_VALUE = "1";
    public static final String COOPERATE_VALUE = "2";

    public static final CommerceModeEnum isnull = new CommerceModeEnum("isnull", ISNULL_VALUE);
    public static final CommerceModeEnum selfSupport = new CommerceModeEnum("selfSupport", SELFSUPPORT_VALUE);
    public static final CommerceModeEnum cooperate = new CommerceModeEnum("cooperate", COOPERATE_VALUE);

    /**
     * construct function
     * @param String commerceModeEnum
     */
    private CommerceModeEnum(String name, String commerceModeEnum)
    {
        super(name, commerceModeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CommerceModeEnum getEnum(String commerceModeEnum)
    {
        return (CommerceModeEnum)getEnum(CommerceModeEnum.class, commerceModeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CommerceModeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CommerceModeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CommerceModeEnum.class);
    }
}